package Controller;

import model.CD;
import model.Stereo;

/**
 *
 * @author elias
 */
public class CommandStereoOFFWithCD implements Command{
    private final Stereo stereo;
    private final CD cd;

    public CommandStereoOFFWithCD(Stereo s, CD cd){
        this.stereo = s;
        this.cd = cd;
    }

    public void execute() {
        this.stereo.setStateOFF(cd);
    }

}
